AM 255 : Problem Set 2

نویسنده

  • Douglas Lanman
چکیده

My implementation of the discrete difference approximation, as defined by Equation 1, was completed using Matlab and is included as prob1.m. Note that prob1.m accepts a single input argument kMode which is used to toggle λ = 1/2 or λ = h. Before presenting the results of my program, I will briefly outline the architecture of the source code. On lines 21-55 I select the values of {N, h, k} and determine the resulting grid points {x, t}. (Note that on lines 44-47 I ensure that the last time is given by T = 2π.) Lines 56-66 implement Equation 1. Note that I have implemented the central difference operator D0 as a stand-alone program D0.m. Finally, lines 67-104 create the tables and plots shown in this write-up. Recall from Equation 2.1.3 in [1] that the general solution to the first-order wave equation is given by u(x, t) = f(x+ t), where f(x) is the initial condition along t = 0. As a result, the solution at T = 2π is given by u(x, 2π) = sin(x + 2π) = sin(x). As specified in the problem statement, I have plotted the numerical approximation along with the analytic solution in Figure 1. (Note that the cases λ = {1/2, h} are shown in Figure 1(a) and 1(b), respectively. Also recall that λ = h ⇒ k = h from page 44 in [1].) The approximation results for both λ = 1/2 and λ = h are tabulated below.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AM 255 : Problem Set 4

Prove that the θ scheme (I − θkD + D −)v n+1 j = (I + (1 − θ)kD + D −)v n j , j = 0, 1,. .. , N, 0 ≤ θ ≤ 1 (1) is unconditionally stable for θ ≥ 1 2. In order to find the necessary conditions for stability, we begin by making the ansatz v n j = 1 √ 2π e iωx j ˆ v n (ω), where the solution is composed of a single Fourier component. Substituting this expression into Equation 1, we obtain the foll...

متن کامل

SOLVING MULTI CONSTRAINTS STRUCTURAL TOPOLOGY OPTIMIZATION PROBLEM WITH REFORMULATION OF LEVEL SET METHOD

Due to the favorable performance of structural topology optimization to create a proper understanding in the early stages of design, this issue is taken into consideration from the standpoint of research or industrial application in recent decades. Over the last three decades, several methods have been proposed for topology optimization. One of the methods that has been effectively used in stru...

متن کامل

APX-hardness of domination problems in circle graphs

We show that the problem of finding a minimum dominating set in a circle graph is APXhard: there is a constant δ > 0 such that there is no (1 + δ)-approximation algorithm for the minimum dominating set problem on circle graphs unless P = NP. Hence a PTAS for this problem seems unlikely. This hardness result complements the (2 + ε)-approximation algorithm for the problem (Journal of Algorithms, ...

متن کامل

Development of a Genetic Algorithm for Advertising Time Allocation Problems

Commercial advertising is the main source of income for TV channels and allocation of advertising time slots for maximizing broadcasting revenues is the major problem faced by TV channel planners. In this paper, the problem of scheduling advertisements on prime-time of a TV channel is considered. The problem is formulated as a multi-unit combinatorial auction based mathematical model. This is a...

متن کامل

Thulstrup AM, Hannerz H, Hougaard KS: Exposure to psycho- social job strain during pregnancy and odds of asthma and atopic dermatitis among 7-year old children - a prospective

The 4 original papers are 1. Larsen AD, Hannerz H, Obel C, Thulstrup AM, Bonde JP, Hougaard KS: Testing the association between psychosocial job strain and adverse birth outcomes design and methods. BMC Public Health 2011, 11: 255. 2. Larsen AD, Hannerz H, Juhl M, Obel C, Thulstrup AM, Bonde JP, Hougaard KS: Psychosocial job strain and risk of adverse birth outcomes: a study within the Danish n...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006